<?php

defined('SYSPATH') or die('No direct script access.');

class Controller_Admin extends Controller_Base {

    public $template = 'admin/v_admin_base';
    public $categories;
    protected $pagename;
    
    
    public function before() {
        parent::before();
        
        $this->pagename = Kohana::config('myconf.site_name').'/Адмінка';
        
        $this->template->styles = array('media/css/style.css');
        $this->template->scripts = array();

        $site_name = Kohana::config('myconf.site_name');
        $site_description = 'Music, guitars, bass';        
        
        $this->template->site_name = $site_name;
        $this->template->site_description = $site_description;        
    }

}

?>
